﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MINERP.MODEL.GroupMember
{
    /// <summary>
    /// 设计员在设计好大图后当大图导入到定单时的照片实体类
    /// </summary>
    public class BigPicInfo
    {

        public string PicName { get; set; }
        public string PicPath { get; set; }
        public float Width { get; set; }//单位为英寸
        public float Height { get; set; }
        public int PixWidth { get; set; }
        public int PixHeight { get; set; }
        public int NUM { get; set; }//数量，就是有可能是一底多张的情况
        public bool IsMatchSize { get; set; }//照片尺寸是否和模版一致
        public string PhotoSize
        {
            get
            {
                if (Width >= Height)
                {
                    return Width + "x" + Height;
                }
                else
                {
                    return Height + "x" + Width;
                }
            }
        }

    }
}
